package com.pm.buglist.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.pm.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ProjectBugVo implements Serializable {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 主键id
     */
    private Long pid;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private String custom;

    /**
     * 机型
     */
    @Excel(name = "机型")
    private String model;

    /**
     * 项目编码
     */
    @Excel(name = "项目编码")
    private String projectNo;

    /**
     * 项目专案级别
     */
    @Excel(name = "专案级别")
    private String plevel;

    /**
     * AD板
     */
    @Excel(name = "AD板")
    private String adBoard;

    /**
     * 芯片组
     */
    @Excel(name = "芯片组")
    private String chipGroup;

    /**
     * LCM/OC
     */
    @Excel(name = "LCM/OC")
    private String lcmOc;

    /**
     * 电源/适配器
     */
    @Excel(name = "电源/适配器")
    private String powerSupply;

    /**
     * 恒流板
     */
    @Excel(name = "恒流板")
    private String currentBoard;

    /**
     * Arm板
     */
    @Excel(name = "Arm板")
    private String armBoard;

    /**
     * bug编码
     */
    @Excel(name = "bug编码")
    private String bugCode;

    /**
     * 问题类别
     */
    @Excel(name = "问题类别")
    private String problemType;

    /**
     * bug识别标识
     */
    @Excel(name = "识别")
    private String identify;

    /**
     * 严重程度
     */
    @Excel(name = "严重程度")
    private String level;

    /**
     * 设备型号
     */
    @Excel(name = "设备型号")
    private String modelCode;

    /**
     * 不良率
     */
    @Excel(name = "不良率")
    private String badPersentage;

    /**
     * bug标题
     */
    @Excel(name = "bug标题")
    private String bugTitle;

    /**
     * bug版本
     */
    @Excel(name = "FW版本")
    private String bugVersion;

    /**
     * 异常归类
     */
    private String exceptionType;

    /**
     * 异常代码
     */
    private String exceptionCode;

    /**
     * 提出日期
     */
    private LocalDateTime createTime;

    /**
     * bug状态，0:草稿, 10：open(打开),20:Tracking(追踪),30:Waive(废弃),40:Close(关闭)
     */
    private String bugStatus;

    /**
     * 当前处理角色状态,0:R&D 1:DQE
     * */
    private String handleStatus;

    /**
     * 产品阶段
     * */
    private String productStage;


    /**
     * 附件id
     */
//    private Long fileId;

    /**
     * 电源适配器标识字符串
     * */
    private String powerSuppleId;

    /**
     * lcm_oc标识字符串
     * */
    private String lcmOcId;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 更新人
     */
//    private Long updateUser;

    /**
     * 更新时间
     */
//    private LocalDateTime updateTime;

    /**
     * 责任人
     */
    @TableField(exist = false)
    @Excel(name = "责任人")
    private String respon;


    /**
     * bug描述
     */
    @TableField(exist = false)
    @Excel(name = "不良现象描述")
    private String bugDescriptions;

    @TableField(exist = false)
    @Excel(name = "描述图片",cellType = Excel.ColumnType.IMAGE)
    private String dImgPath;

    @TableField(exist = false)
    @Excel(name = "提交人")
    private String bugCreateUser;//bug提交人

    @TableField(exist = false)
    @Excel(name = "提交时间")
    private String bugCreateTime;//bug提交时间

    /**
     * bug 分析
     * */
    @TableField(exist = false)
    @Excel(name = "原因分析")
    private String bugAnalysis;

//    @TableField(exist = false)
//    @Excel(name = "分析图片",cellType = Excel.ColumnType.IMAGE)
//    private String aImgPath;

    /**
     * 回复对策
     * */
    @TableField(exist = false)
    @Excel(name = "改善对策")
    private String bugAnswer;

//    @TableField(exist = false)
//    @Excel(name = "对策图片",cellType = Excel.ColumnType.IMAGE)
//    private String cImgPath;

    @TableField(exist = false)
    private String param;//模糊查询参数



    /**
     * 项目说明
     */
    private String remark;

    /**
     * 修改说明
     */

    private String descritions;

    /**
     * 状态 0 草稿   10 open  30 close
     */
    private Integer status;

    @Excel(name = "改善时间")
    private String recoverTime;

    @Excel(name = "close Fw版本")
    private String closeVersion;

    @TableField(exist = false)
    @Excel(name = "bug状态")
    private String statusTxt;

    private String other;

}
